home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: delta / whiteline CD Series - delta.iso / vision / povray / math / folium.pov < prev    next >
Text File  |  1995-11-25  |  1KB  |  53 lines

  1. // Persistence Of Vision raytracer version 2.0 sample file.
  2.  
  3. // Persistence of Vision Raytracer
  4. // By Alexander Enzmann
  5.  
  6. /* sample quartic scene file written by Alexander Enzmann */
  7.  
  8. #include "shapes.inc"
  9. #include "colors.inc"
  10. #include "textures.inc"
  11.  
  12. /*
  13.   Folium - a plane with an oogah horn installed (?) or maybe a sassy
  14.            olive sticking out it's pimento!
  15. */
  16.  
  17. intersection {
  18.    quartic {
  19.      < 0.0,  0.0,  0.0,   0.0, 0.0,  0.0,  0.0,  0.0,  0.0, 2.0,
  20.        0.0,  0.0, -3.0,   0.0, 0.0,  0.0,  0.0, -3.0,  0.0, 0.0,
  21.        0.0,  0.0,  0.0,   0.0, 0.0,  1.0,  0.0,  0.0,  0.0, 0.0,
  22.        0.0,  0.0,  1.0,   0.0, 0.0 >
  23.  
  24.        texture {
  25.           pigment { Red }
  26.           finish {
  27.              phong 1.0
  28.              phong_size 10
  29.              ambient 0.2
  30.              diffuse 0.8
  31.           }
  32.        }
  33.    }
  34.  
  35.    sphere {
  36.       <0, 0, 0>, 10
  37.       texture { pigment { Clear } }
  38.    }
  39.  
  40.    bounded_by { sphere { <0, 0, 0>, 11 } }
  41.    rotate <0, 50, 10>
  42.    translate 20*z
  43. }
  44.  
  45. camera {
  46.    location  <0.0, 0.0,-10.0>
  47.    direction <0.0, 0.0, 1.0>
  48.    up        <0.0, 1.0, 0.0>
  49.    right     <4/3, 0.0, 0.0>
  50. }
  51.  
  52. light_source { <-200, 300, -300>  colour White }
  53.